package com.zh.work.entity.channel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("代付渠道路由实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pay_route")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PayRouteEntity extends CommonRouteEntity {

  private static final long serialVersionUID = 4166743560287526416L;

  @ApiModelProperty(name = "主键", value = "id")
  @TableId(value = "id",type = IdType.AUTO)
  private Long id;


  @ApiModelProperty(value = "业务类型(多选 1-银行卡T+0, 2-二维码T+0, 4-网关T+0, 8-快捷T+0, 16-虚拟账户)", name = "bizType")
  private Integer bizType;

  @ApiModelProperty(value = "机构名称", name = "branchName")
  @TableField(exist = false)
  private String branchName;

  @ApiModelProperty(value = "代理商名称", name = "agentName")
  @TableField(exist = false)
  private String agentName;

  @ApiModelProperty(value = "商户名称", name = "merchName")
  @TableField(exist = false)
  private String merchantName;


}
